package com.tfswx.fljdmxyy.dto.wjgl;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

/**
 * 文件夾添加输入dto
 *
 * @Author 陈文佳
 * @Date 2023/03/24
 */
@Data
public class WjjAddInputDTO {
    @ApiModelProperty(value = "父编码（文件夹路径）")
    private String fbm;

    @NotBlank(message = "文件名称不能为空")
    @Pattern(regexp = "^((?![:'/*?\"|<>\\\\]).)*$", message = "文件名称不能带有特殊字符")
    @ApiModelProperty(value = "文件名称", required = true)
    private String wjmc;
}
